package com.zdsoft.crm.dao.auth;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;

import com.zdsoft.crm.entity.auth.SysUserRole;

public interface ISysUserRoleMapper {

	
	@Insert("insert into sys_user_role(id,user_id,role_id)" 
			+ " values(#{id},#{user_id,jdbcType=VARCHAR},#{role_id,jdbcType=VARCHAR})")
	void save(SysUserRole userRole);
	
	@Delete("delete from sys_user_role where id=#{id}")
	void delete(SysUserRole userRole);
}
